//
//  AgentDetailListView.h
//  BaseProject
//
//  Created by 王洋 on 2021/3/2.
//  Copyright © 2021 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JXPagerView.h"

NS_ASSUME_NONNULL_BEGIN
@class CommonRecommandUserModel;
typedef NS_ENUM(NSInteger, AgentDetailSegType) {
    //推荐用户
    AgentDetailSegType_recUsers,
    //补贴明细
    AgentDetailSegType_subsidies,
};

@interface AgentDetailListView : UIView <JXPagerViewListViewDelegate>

@property (nonatomic, assign) AgentDetailSegType type;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray <CommonRecommandUserModel *> *dataSource;

@property (nonatomic, copy) void(^didSelectRowAtIndexPath)(NSIndexPath * indexPath);

- (instancetype)initWithType:(AgentDetailSegType)type;
@end

NS_ASSUME_NONNULL_END
